cmake_minimum_required(VERSION 2.6)
project(switchserialmode)
add_executable(switchserialmode switchserialmode.c)
set(CMAKE_INSTALL_PREFIX "/usr")
set(CMAKE_EXE_LINKER_FLAGS "-lusb-1.0")
install(TARGETS switchserialmode RUNTIME DESTINATION bin)
